.workflow-detail {
  .node-container {
    border-right: 1px solid $divide-line;
    height: calc(100vh - 146px);
    overflow: hidden;
    .form-name {
      line-height: 32px;
    }
    .form-name-tooltip {
      height: 32px;
      line-height: 16px;
      white-space: normal;
      word-wrap: break-word;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      word-break: normal;
    }
    .approve-type {
      font-size: 16px;
      margin: 10px 0;
      .question-icon {
        color: $default-color;
        cursor: pointer;
        margin-left: 10px;
      }
      p {
        font-size: 13px;
        color: #aaa;
      }
    }
    .not-custom-approve {
      margin: 0 auto;
      padding: 10px;
      width: 140px;
      &.selected {
        background: #f9f9f9;
      }
      .approval-block {
        background-color: #2DD1CE;
        color: #fff;
        height: 65px;
        width: 65px;
        line-height: 65px;
        border-radius: 3px;
        text-align: center;
        font-size: 16px;
        left: 0;
        right: 0;
        margin: auto;
      }
      .title {
        margin-top: 10px;
        text-align: center;
      }
    }
  }
  .back-icon {
    padding-bottom: 20px;
    .anticon-rollback {
      margin-right: 5px;
    }
  }
  .custom-approve-node {
    padding-right: 20px;
    .widget-list-item-container {
      border-bottom: 1px dashed $divide-line;
      margin-bottom: 20px;
      position: relative;
      .widget-list-item {
        text-align: center;
        margin-bottom: 20px;
        img {
          width: 55px;
          height: 55px;
          cursor: move;
        }
        div {
          text-align: center;
        }
      }
    }
    .widget-list-item {
      text-align: center;
      &.end-node {
        margin: 0 auto 20px;
        width: 140px;
        padding: 10px;
        &.selected {
          background: #f9f9f9;
        }
      }
      .top-cover {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
      }
      img {
        width: 55px;
        height: 55px;
      }
      div {
        text-align: center;
      }
    }
  }
  .phone-content{
    position: relative;
    min-height: 20px;
    overflow: auto;
    height: calc(100vh - 320px);
    &::-webkit-scrollbar{
      display:none;
    }
    .insert-line{
      background: #569BE5;
      height: 3px;
      width: 100%;
      position: relative;
      &:before{
        content: '';
        position: absolute;
        width: 13px;
        height: 13px;
        background: #569BE5;
        border-radius: 50%;
        left: -5px;
        top: -5px;
      }
    }
    .list-sort-widget{
      position: relative;
      &.drag-widget-item{
        -webkit-transform: scale(1) !important;
        -moz-transform: scale(1) !important;
        -ms-transform: scale(1) !important;
        -o-transform: scale(1) !important;
        transform: scale(1) !important;
      }
      &.hover{
        &:before{
          content: '';
          position: absolute;
          width: 13px;
          height: 13px;
          background: #569BE5;
          border-radius: 50%;
          left: -5px;
          bottom: -6px;
        }
        &:after{
          content: '';
          position: absolute;
          width: 100%;
          height: 3px;
          background: #569BE5;
          bottom: -1px;
          left: 0;
        }
      }
    }
  }
  .node-content-list {
    text-align: center;
    .down-icon {
      margin: 10px 0;
      color: #aaa;
      font-size: 16px;
    }
    .widget-list-item {
      margin: 0 auto;
      padding: 10px;
      cursor: move;
      position: relative;
      .delete-icon {
        width: 15px;
        color: #fb6b6b;
        position: absolute;
        top: 5px;
        right: 36px;
        z-index: 1;
        background: #fff;
        border-radius: 14px;
        cursor: pointer;
        display: none;
      }
      &.selected {
        background: #f9f9f9;
        .delete-icon {
          display: block;
        }
      }
    }
  }
  .right-content {
    padding: 10px 20px;
    height: calc(100vh - 146px);
    overflow-x: hidden;
    overflow-y: auto;
    &::-webkit-scrollbar{
      display:none;
    }
    .node-condition-list {
      .collapse-header {
        .approve-level {
          width: 110px;
        }
        .approve-level-en {
          width: 150px;
        }
      }
      .condition-list-card {
        margin: 10px 0;
        .ant-card-head {
          background: $background-title;
          min-height: 40px;
          .ant-card-head-title {
            font-size: 14px;
            font-weight: normal;
            padding: 8px 0;
          }
          .ant-card-extra {
            padding: 8px 0;
          }
        }
        .no-rule-content {
          color: #ccc;
          padding: 16px 0;
        }
        .condition-title {
          h4 {
            display: inline-block;
            margin-right: 20px;
          }
          .edit-and-delete {
            display: inline-block;
            .edit {
              margin-right: 10px;
            }
          }
        }
        .condition-container {
          margin-bottom: 10px;
          .name, .symbol {
            color: #000;
          }
        }
        .ant-list-item-content {
          display: block;
        }
        .ant-collapse-content > .ant-collapse-content-box {
          padding: 0;
        }
      }
    }
    .form-setting {
      .card-container {
        margin-bottom: 16px;
        .card-title {
          font-size: 16px;
          span {
            font-size: 12px;
            font-weight: normal;
            margin-left: 10px;
            color: #aaa;
          }
        }
        .remark, .remark-disabled {
          color: $font-disabled;
        }
        .ant-radio-group {
          display: block;
        }
        .ant-radio-wrapper{
          display: block;
          height: 30px;
          line-height: 30px;
        }
        .ant-checkbox-wrapper{
          height: 30px;
          line-height: 30px;
        }
        .ant-checkbox-wrapper + .ant-checkbox-wrapper {
          margin-left: 0;
        }
        &.select-company-card {
          .remark {
            margin-bottom: 10px;
            color: #aaa;
          }
          .selected-company-container {
            border: 1px solid $divide-line;
            padding: 10px 20px;
            border-radius: 4px;
            line-height: 26px;
            min-height: 80px;
          }
        }
      }
    }
    .condition-form {
      position: relative;
      .form-container-cover {
        position: absolute;
        width: 100%;
        height: 100%;
        display: none;
        z-index: 1;
        &.show {
          display: block;
        }
      }
      .type-long-double-date, .type-text, .type-boolean, .type-cust-list {
        margin-bottom: 10px;
        &>div, &>span {
          margin-right: 10px;
        }
        .ant-select {
          width: 100%;
        }
        .ant-input-number {
          width: 100%;
        }
        .ant-tag {
          margin-bottom: 5px;
        }
        .type-text-remark{
          .ant-input-sm{
            width: 150px!important;
            margin: 0 5px 5px 0;
          }
          .icon-delete{
            color: #fb6b6b;
            margin: 0 5px;
          }
        }
      }
      .add-icon {
        margin-right: 5px;
      }
      .buttons {
        margin-top: 10px;
        .save-condition-btn {
          margin-right: 20px;
        }
      }
      .select-dep-or-person {
        display: inline-block;
        .placeholder-class {
          color: $default-color;
        }
      }
      .expense-type-selector {
        padding: 0;
      }
      .selector-container .ant-select-selection--single {
        height: 24px;
        .ant-select-selection__rendered {
          line-height: 22px;
        }
      }
      .antd-pro-ellipsis-ellipsis {
        display: inline;
      }
      .expense-type-amount {
        overflow: hidden;
        padding: 0 5px;
        margin-left: 20px;
        border: 1px solid #d1d1d1;
        text-overflow:ellipsis;
        white-space: nowrap;
        border-radius: 3px;
        color: #aaa;
      }
    }
    .node-approve-man, .node-know, .node-approve-ai, .node-print {
      .basic-info-container {
        margin-bottom: 20px;
        .ant-form-item-label {
          text-align: left;
        }
        .title {
          font-size: 20px;
          margin-bottom: 10px;
        }
        .ant-form-item {
          margin-bottom: 10px;
        }
        .approval-select {
          display: inline-block;
          width: 150px;
          margin-left: 10px;
        }
        .ant-card-body {
          padding: 10px 24px;
        }
      }
      .add-btn-container {
        .approve-info-icon {
          color: $default-color;
          margin: 0 5px 0 10px;
        }
        .approve-info-text {
          font-size: 12px;
          color: #aaa;
        }
      }
    }
    .node-know {
      .basic-info-container {
        .ant-checkbox-group {
          line-height: unset;
          .ant-checkbox-group-item {
            display: block;
          }
        }
        .notify-weChat {
          display: inline-block;
          span {
            font-size: 12px;
            color: #bababa;
          }
        }
        .notify-title-show {
          margin: 15px 0 0;
          line-height: 15px;
        }
      }
    }
    .node-approve-ai {
      .approve-type-notice {
        color: #bababa;
        font-size: 12px;
      }
    }
    .node-not-custom-approve {
      .ant-row {
       margin-bottom: 15px;
      }
    }
    .select-rule-modal-container, .select-person-modal-container, .select-depLevel-modal-container {
      .ant-modal-body {
        max-height: 70vh;
        overflow: auto;
        padding: 10px 24px;
        &::-webkit-scrollbar {
          display: none;
        }
        .ant-list-item-content {
          display: block;
        }
        .antd-pro-tag-select-tagSelect {
          max-height: none;
          margin-left: 0;
          .ant-tag {
            border: 1px solid #ddd;
            &.ant-tag-checkable-checked {
              border-color: $default-color;
            }
          }
        }
        .dep-by-bill, .direct-manager, .default-addition, .cost-center, .cost-center-dept, .user-approver, .user-group-approver {
          h4 {
            display: inline-block;
            margin-right: 15px;
          }
        }
      }
      .antd-pro-tag-select-tagSelect {
        .ant-tag:first-child {
          display: none;
        }
      }
    }
  }
  .right-content-cover {
    position: absolute;
    right: 0;
    height: 100%;
    z-index: 99;
  }
}
